package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.AppearanceSizeReq;
import com.ruibang.glass.quality.entity.AppearanceSize;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 成品外观尺寸信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-03-20
 */
public interface AppearanceSizeService extends IService<AppearanceSize> {

    /***
     * 新增外观尺寸信息
     * @param appearanceSize
     */
    void saveInfo(AppearanceSize appearanceSize);

    /***
     * 删除
     * @param id
     */
    void delete(String id);

    /***
     * 更新外观尺寸信息
     * @param appearanceSize
     */
    void updateInfo(AppearanceSize appearanceSize);

    /***
     * 分页列表查询外观尺寸信息
     * @param pageRequest
     * @return
     */
    PageResult<AppearanceSize> queryPage(PageRequest<AppearanceSizeReq> pageRequest);

    /***
     * 非分页列表查询外观尺寸信息
     * @param requestReq
     * @return
     */
    List<AppearanceSize> queryAppearanceSize(AppearanceSizeReq requestReq);

    /***
     * 导入成品外观尺寸信息excel
     * @param file
     * @return
     */
    AppearanceSize importAppearanceSize(MultipartFile file);
}
